/**
 * 模拟sleep
 * @param ms 时间数值
 */
export const sleep = (ms: number) => {
    return new Promise(resolve => setTimeout(resolve, ms));
}